package cn.oop.inherit;

import java.util.Scanner;

public class Weather {
    public static void main(String[] args) {
        System.out.println("华氏温度转换成摄氏温度的工具");
        Scanner in = new Scanner(System.in);
        System.out.println("请输入华氏温度");
        int F = in.nextInt();
        System.out.println("摄氏温度是：" + (F - 32) * 5 / 9);
    }
}
